package com.example.chat.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class PageController {

    @RequestMapping(value = "websocket",method = RequestMethod.GET)
    public String init1() {
        return "websocket.html";
    }

    @RequestMapping(value = "system",method = RequestMethod.GET)
    public String init2() {
        return "system.html";
    }

    @RequestMapping(value = "chat",method = RequestMethod.GET)
    public String init3() {
        return "chat.html";
    }

}